package net.sxnic.workflow.task.action;

import java.util.LinkedList;
import java.util.List;

import net.sxnic.workflow.WfActionSupport;
import net.sxnic.workflow.task.Task;
import net.sxnic.workflow.task.TaskManager;
import net.sxnic.workflow.task.TaskWrapper;
import net.sxnic.workflow.wfentity.WfEntityManager;

import org.springframework.beans.factory.annotation.Autowired;

@SuppressWarnings("serial")
public class TaskAction extends WfActionSupport {

	protected Task task;

	@Autowired
	protected TaskManager taskManager;

	protected String taskId;

	@Autowired
	private WfEntityManager wfentityManager;

	protected List<TaskWrapper> treatWrappertoList(List taskList) {

		List<TaskWrapper> list = new LinkedList<TaskWrapper>();

		return list;
	}

	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

}
